The Dreamweaver JavaScript API > Behavior functions |
![]() ![]() ![]() |
Availability
Dreamweaver 3.0
Description
Sets the selected node. This function is equivalent to calling dom.nodeToOffsets()
and then passing the return value to dom.setSelection()
.
Arguments
node
, {bSelectInside}
, {bJumpToNode}
![]() |
node is a text, comment, or element node in the document. |
![]() |
bSelectInside is a Boolean value indicating whether to select the innterHTML of the node. This argument is relevant only if node is an element node, and it defaults to false if omitted. |
![]() |
bJumpToNode is a Boolean value indicating whether to scroll the Document window, if necessary, to make the selection visible. If omitted, this argument defaults to false . |
Returns
Nothing
Enabler
None.
![]() ![]() ![]() |